package com.itheima.service;

import com.itheima.domain.Account;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface AccountService {
    Account findByid(Integer id);
    void add(Account account);
    void delete(Account account);
    void update(Account account);
    void tran(Account a,Account b);
}
